<div class="row">
    <div class="col-md-8" style="width: 100%;">
        <div>
            <h4><a href="<?php echo URL_BASE ?>vpanel/"><i class="glyphicon glyphicon-home"></i></a> &raquo; Pages
                <a class="btn btn-primary" href="vpanel/?id=add_cate">
                    +<i class="glyphicon glyphicon-file"></i> Add Category
                </a>
            </h4>
            <hr />

        </div>
        <table cellpadding="0" cellspacing="0" border="0" class="dTable">
            <thead>
            <tr>
                <th>Title</th>
                <th>Page (Url)</th>
                <th>Hash Tag</th>
                <th>Actions</th>
            </tr>
            </thead>
            <tbody>

            <?php foreach ( $this->allCategory as $key ) {

                ?>
                <tr>
                    <td><?php echo $key['title']; ?></td>
                    <td><?php echo $key['id']; ?></td>
                    <td><?php echo $key['hash_tag']; ?></td>
                    <td><a href="vpanel/?edit_cate=<?php echo $key['id']; ?>">Edit category</a></td>
                </tr>
            <?php
            } ?>

            </tbody>
        </table>

    </div>

</div><!-- End Row -->